<?php
if ( ! defined('BASEPATH')) exit('el acceso directo a esta página no esta permitido.');

class reportes extends ci_controller {
     function __construct()
    {
        parent::__construct();
    }
        
      function index(){
        if($this->session->userdata('logged_in'))
            {  
                $this->load->helper('html');
                $this->load->helper('form');
                $session_data = $this->session->userdata('logged_in');
                $data['menu'] = menu_ul('reportes',$session_data['tipousuario']);
                $data['title'] = "POSMobile - Reportes";

                $this->load->view('partials/header',$data);
                $this->load->view('pages/reportes_view',$data);
                $this->load->view('partials/footer');
            } else redirect('login');
    }
    
}

/* end of file reportes.php */
/* location: ./application/controllers/reportes.php */